package com.suning.sawp.dto.bi;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * 
 * 〈一句话功能简述〉单品平均单价接口dto<br>
 * 〈功能详细描述〉
 *
 * @author 17033093
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
public class CmmdtyAvgPriceDto implements Serializable {

    private static final long serialVersionUID = -6090397624364296512L;

    /**
     * 品类编码
     */
    private String cateCode = "";

    /**
     * 品类名称
     */
    private String cateName = "";

    /**
     * 品牌编码
     */
    private String brandCode = "";

    /**
     * 品牌名称
     */
    private String brandName = "";

    /**
     * 品牌销售数量
     */
    private String brandSaleCnt = "0";

    /**
     * 品牌销售金额
     */
    private BiSaleAmountDto brandSaleMoney = BiSaleAmountDto.valueOf(BigDecimal.ZERO);

    /**
     * 品牌平均单价
     */
    private BiSaleAmountDto brandAvgPrice = BiSaleAmountDto.valueOf(BigDecimal.ZERO);

    /**
     * 品牌平均单价同比
     */
    private String avgPriceRate = "0.0";

    /**
     * 单品平均单价列表
     */
    private List<SaleCmmdtyDto> cmmdtyAvgPriceList = new ArrayList<SaleCmmdtyDto>();

    /**
     * 单品平均单价总条数
     */
    private String totalSize = "0";

    public String getCateCode() {
        return cateCode;
    }

    public void setCateCode(String cateCode) {
        this.cateCode = cateCode;
    }

    public String getCateName() {
        return cateName;
    }

    public void setCateName(String cateName) {
        this.cateName = cateName;
    }

    public String getBrandCode() {
        return brandCode;
    }

    public void setBrandCode(String brandCode) {
        this.brandCode = brandCode;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getBrandSaleCnt() {
        return brandSaleCnt;
    }

    public void setBrandSaleCnt(String brandSaleCnt) {
        this.brandSaleCnt = brandSaleCnt;
    }

    public BiSaleAmountDto getBrandSaleMoney() {
        return brandSaleMoney;
    }

    public void setBrandSaleMoney(BiSaleAmountDto brandSaleMoney) {
        this.brandSaleMoney = brandSaleMoney;
    }

    public BiSaleAmountDto getBrandAvgPrice() {
        return brandAvgPrice;
    }

    public void setBrandAvgPrice(BiSaleAmountDto brandAvgPrice) {
        this.brandAvgPrice = brandAvgPrice;
    }

    public String getAvgPriceRate() {
        return avgPriceRate;
    }

    public void setAvgPriceRate(String avgPriceRate) {
        this.avgPriceRate = avgPriceRate;
    }

    public List<SaleCmmdtyDto> getCmmdtyAvgPriceList() {
        return cmmdtyAvgPriceList;
    }

    public void setCmmdtyAvgPriceList(List<SaleCmmdtyDto> cmmdtyAvgPriceList) {
        this.cmmdtyAvgPriceList = cmmdtyAvgPriceList;
    }

    public String getTotalSize() {
        return totalSize;
    }

    public void setTotalSize(String totalSize) {
        this.totalSize = totalSize;
    }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("CmmdtyAvgPriceDto [cateCode=");
        builder.append(cateCode);
        builder.append(", cateName=");
        builder.append(cateName);
        builder.append(", brandCode=");
        builder.append(brandCode);
        builder.append(", brandName=");
        builder.append(brandName);
        builder.append(", brandSaleCnt=");
        builder.append(brandSaleCnt);
        builder.append(", brandSaleMoney=");
        builder.append(brandSaleMoney);
        builder.append(", brandAvgPrice=");
        builder.append(brandAvgPrice);
        builder.append(", avgPriceRate=");
        builder.append(avgPriceRate);
        builder.append(", cmmdtyAvgPriceList=");
        builder.append(cmmdtyAvgPriceList);
        builder.append(", totalSize=");
        builder.append(totalSize);
        builder.append("]");
        return builder.toString();
    }

}
